#!/bin/bash
echo "脚本名称$0"
echo "运行脚本进程id $$"
echo "总共$#个参数"
echo "输入的参数为 $*"
echo "第一个参数为$1,第3个参数为$3"

echo "循环输出参数："
for i in "$@";do
    echo $i
done